home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !tex / TeXsource / web2ctex / ctex / h / memory < prev    next >
Encoding:
Text File  |  1988-05-18  |  524 b   |  32 lines

  1. /*
  2.  * Global Datastructures too hard to translate automatically from Pascal.
  3.  */
  4.  
  5. typedef union {
  6.     struct {
  7.     halfword RH, LH;
  8.     } v;
  9.     struct {
  10.     halfword junk_space;    /* Make B0,B1 overlap LH in memory */
  11.     quarterword B0, B1;
  12.     } u;
  13. } twohalves;
  14. #define    b0    u.B0
  15. #define    b1    u.B1
  16.  
  17. typedef struct {
  18.     struct {
  19.     quarterword B0;
  20.     quarterword B1;
  21.     } u;
  22.     quarterword b2;
  23.     quarterword b3;
  24. } fourquarters;
  25.  
  26. typedef union {
  27.     integer cint;
  28.     glueratio gr;
  29.     twohalves hh;
  30.     fourquarters qqqq;
  31. } memoryword;
  32.